package com.oocl.ha.merchant.exceptionHandler;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

public class XHRexception extends Exception{
	  @RequestMapping(value = {"/index","/"}, method = RequestMethod.GET)
	 public String home() {
	  return "login";  //返回到login.jsp登录页，而不是Controller的方法。
	  }
}
